#after download vcard file convert it to abook
abook --convert --informat vcard --infile contacts.vcf --outformat abook --outfile addressbook
#upload it to server
scp addressbook <server>:.abook/

#convert it from abook to mutt
abook --convert --informat abook --infile ~/.abook/addressbook --outformat mutt --outfile /tmp/muttbook

#remove lines that don't have email addresses
sed -i -n 's/@/@/p' /tmp/muttbook

#fix aliases and replace aliases file
awk '{print $1 " " $3 "_" $4 " " $3 " " $4 " " $5 " " $6 " " $7}' /tmp/muttbook > ~/.mutt/aliases

#remove tmp file
rm /tmp/muttbook